/**
 * Created By zhangQ 2018/2/27
 */

const index = () => import(/* webpackChunkName: "lightStation" */ '@views/lightStation')
// const stationMap = () => import(/* webpackChunkName: "lightStation" */ '@views/lightStation/stationMap/index_before.vue')
const stationMap = () => import(/* webpackChunkName: "lightStation" */ '@views/lightStation/stationMap/index.vue')
// 路由是否验证
let required = false
let routers = []
/* 前端首页根路由 */
let lightStationRouter = {
  path: '/lightStation',
  name: 'lightStation',
  icon: 'speedometer',
  component: index,
  props: true,
  redirect: '/lightStation/stationMap',
  meta: {role: [], activeMenu: 'lightStation', title: '场站点亮计划', required: required},
  children: []
}
routers.push(lightStationRouter)
/* 场站地图 star */
let indexRouter = {
  path: 'stationMap', name: 'stationMap', component: stationMap, icon: 'speedometer', meta: {activeMenu: 'lightStation', title: '场站地图', required: required}
}
lightStationRouter.children.push(indexRouter)
/* 场站地图 star */
export default routers
